package com.jqq.string_;

/**
 * @author 姬倩倩
 * @version 1.0
 */
public class StringBuffer01 {
    public static void main(String[] args) {
        //1.默认创建长度为16的value char[]数组
        StringBuffer stringBuffer = new StringBuffer();
        //2.指定数组容量
        StringBuffer stringBuffer1 = new StringBuffer(100);
        //3.通过给一个String创建StringBuffer 数组长度为当前字符串的长度+16
        StringBuffer stringBuffer2 = new StringBuffer("hello");
    }
}
